package com.liujit.bms.app.domain.params;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description 博客会员阅读记录请求参数
 * @Author liujun
 * @Date 2021-07-16 19:45:29
 */
@Data
@ApiModel(value = "BlogMemberReadRecordParams", description = "博客会员阅读记录请求参数")
public class BlogMemberReadRecordParams implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "会员id")
    private Long memberId;

    @ApiModelProperty(value = "文章id")
    private Long articleId;

    @ApiModelProperty(value = "标题")
    @Length(max = 100, message = "标题最大长度100")
    private String title;

    @ApiModelProperty(value = "封面图片")
    private String coverImage;

    @ApiModelProperty(value = "阅读时间")
    private Date readTime;
}